import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import index from '../view/index.vue'

Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'index',
            component: index
        }, {
            path: '/',
            name: 'HelloWorld',
            component: HelloWorld
        },

    ]
})